<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/system/include/taglib.jsp"%>
<html>
<head>
<base href="${pageScope.basePath }">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title></title>
<link type="text/css" rel="stylesheet" href="system/css/style.css" />
<script type="text/javascript" src="system/js/public.js"></script>
<link href="system/plugins/validateMyForm/css/plugin.css" rel="stylesheet" type="text/css">
 <script type="text/javascript" src="system/js/jquery-1.4.2.js"></script>
 <script type="text/javascript" src="system/js/verify1.js"></script>
 <script type="text/javascript" src="system/js/book/bxdj.js"></script>
 <script type="text/javascript" src="system/plugins/validateMyForm/js/jquery.validateMyForm.1.5.js"></script>
 <script type="text/javascript">  
	$(document).ready(function(){ 
	    $("#form1").validateMyForm(); 
	}); 
	 function aprol(){//system/js/DatePicker/WdatePicker.js
		$("#form1").attr("action","${pageScope.basePath }system/book/insuranceOr_Apro.do");
		$("#form1").submit();
	}
	 
	
				

</script>  
<body>
<div class="main">
	<div class="position">当前位置: <a href="sysadm/desktop.jsp">桌 面</a> → 保险代缴</div>
	<div class="mainbody">
		<div class="operate_info">操作说明：带 * 号必填</div>
		
		<div style="font-size:20px;font-weight:bold;color: blue">保险代缴：</div>
		<div class="table">
		<mytag:View table="com.zhongkai.model.book.TDjCcdjxx" id="${param.ccdjh}" name="tDjCcdjxx"></mytag:View>
			<form id="form1" action="system/book/insuranceOr_Chec.do" method="post" >
				<table width="100%" border="0" cellpadding="1" cellspacing="1" class="table_form" >
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">车主类别：</td>
						<mytag:View table="com.zhongkai.model.book.TDmCcsCzlb" id="${tDjCcdjxx.czlbDm}" name="tDmCcsCzlb" entityStringId="true"></mytag:View>
						<input type="hidden"" name="czlbDm"  value="${tDmCcsCzlb.czlbDm}"/>
						<td>
							<input readonly value="${tDmCcsCzlb.czlbMc}"/><!-- 需要显示名称,车主类别代码对应的名称 -->
						</td>
						<td  align="right">登记状态：</td>
						<mytag:View table="com.zhongkai.model.book.TDmCcsDjzt" id="${tDjCcdjxx.djztDm}" name="tDmCcsDjzt" entityStringId="true"></mytag:View>
						<input type="hidden" id="djztDm" name="djztDm" value="${tDmCcsDjzt.djztDm}"/>
						<td><input name="djztMc" id="djztMc" readonly="readonly" value="${tDmCcsDjzt.djztMc }"></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">纳税人编码：</td>
						<td><input name="nsrbm" id="nsrbm" readonly value="${tDjCcdjxx.nsrbm}"/></td>
						<td  align="right">车船登记号：</td>
						<td><input name="ccdjh" id="ccdjh" readonly value="${tDjCcdjxx.ccdjh}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">车主名称：</td>
						<td><input name="czMc" id="czMc" readonly value="${tDjCcdjxx.czMc}"/></td>
						<td  align="right">身份证号码：</td>
						<td><input name="sfzhm" id="sfzhm" readonly value="${tDjCcdjxx.sfzhm}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">地址：</td>
						<td><input name="czDz" id="czDz" readonly value="${tDjCcdjxx.czDz}"/></td>
						<td  align="right">电话：</td>
						<td><input name="czDh" id="czDh" readonly value="${tDjCcdjxx.czDh}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">车船牌照号码：</td>
						<td>粤T.<input name="ccpzh" id="ccpzh" readonly value="<c:if test="${tDjCcdjxx!=null}"><%com.zhongkai.model.book.TDjCcdjxx tDjCcdjxx =(com.zhongkai.model.book.TDjCcdjxx)pageContext.getAttribute("tDjCcdjxx");String ccpzh=tDjCcdjxx.getCcpzh();String ccpzhsuff=ccpzh.substring(3);out.print(ccpzhsuff);%></c:if>"/></td>
						<td  align="right">车船类型：</td>
						<input type="hidden" name="jjcclxDm" id="jjcclxDm" readonly value="${tDjCcdjxx.jjcclxDm}"/>
						<mytag:View table="com.zhongkai.model.book.TDmCcsJjcclx" id="${tDjCcdjxx.jjcclxDm}" name="tDmCcsJjcclx" entityStringId="true"></mytag:View>
						<td><input  readonly value="${tDmCcsJjcclx.jjcclxMc}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">发动机号：</td>
						<td><input name="fdjh" id="fdjh" readonly value="${tDjCcdjxx.fdjh}"/></td>
						<td  align="right">车架号：</td>
						<td><input name="cjh" id="cjh" readonly value="${tDjCcdjxx.cjh}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">厂牌型号：</td>
						<td><input name="cpxh" id="cpxh" readonly value="${tDjCcdjxx.cpxh}"/></td>
						<td  align="right">购置时间：</td>
						<td><input name="gzRq" id="gzRq" readonly value="<fmt:formatDate value="${tDjCcdjxx.gzRq}" type="date" pattern="yyyy-MM-dd"/>"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">核定载重量(吨)：</td>
						<td><input name="hdzzl" id="hdzzl" readonly value="${tDjCcdjxx.hdzzl}"/></td>
						<td  align="right">核定载客量(人)：</td>
						<td><input name="hdzkl" id="hdzkl" readonly value="${tDjCcdjxx.hdzkl}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">整备质量(吨)：</td>
						<td><input name="zbzl" id="zbzl" readonly value="${tDjCcdjxx.zbzl}"/></td>
						<td  align="right">排气量：</td>
						<td><input name="pql" id="pql" readonly value="${tDjCcdjxx.pql}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">登记日期：</td>
						<td><input name="djRq" id="djRq" readonly value="<fmt:formatDate value="${tDjCcdjxx.djRq}" type="date" pattern="yyyy-MM-dd"/>"/></td>
						<td  align="right">行驶证发证日期：</td>
						<td><input name="fzRq" id="fzRq" readonly value="<fmt:formatDate value="${tDjCcdjxx.fzRq}" type="date" pattern="yyyy-MM-dd"/>"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">免税：</td>
						<td><input name="msBj" id="msBj" readonly value="${tDjCcdjxx.msBj}"/></td>
						<td  align="right">申报起始年月：</td>
						<td><input name="sbqsny" id="sbqsny" readonly value="${tDjCcdjxx.sbqsny}"/></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<mytag:List table="com.zhongkai.model.book.TDjCcywcl" name="tDjCcywclList">ccdjh=${tDjCcdjxx.ccdjh}</mytag:List>
						<logic:iterate id="tDjCcywcl" name="tDjCcywclList">
							<c:if test="${tDjCcywcl!=null}">
								<%pageContext.setAttribute("tDjCcywcl",tDjCcywcl); %>
							</c:if>
						</logic:iterate>
						<td align="right">保险单开具地：</td>
						
						<td><input name="bxdjKjd" id="bxdjKjd" value="${tDjCcywcl.bxdjKjd}" class="required"/>&nbsp;<span style="color:red">*</span></td>
						<td  align="right">保单号：</td>
						<td><input name="bxdjBdh" id="bxdjBdh" value="${tDjCcywcl.bxdjBdh}" onblur="onlydigit(this,11)">&nbsp;<span style="color:red">*</span></td>
					</tr>
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
						<td align="right">异地缴纳年份：</td>
						<td colspan="3"><input name="bxdjNfq" id="bxdjNfq" value="${tDjCcywcl.bxdjNfq}" onblur="onlydigit(this,4);verYear();verBxdjnLGqSbqsn()"  class="required"/>至<input name="bxdjNfz" id="bxdjNfz" value="${tDjCcywcl.bxdjNfz}" onblur="onlydigit(this,4);verYear()"/>&nbsp;<span style="color:red">*</span></td>
						
					</tr>
					
					<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" >
						<td align="right">备注：</td>
						<td colspan="3">
							<textarea name="bz" id="bz" cols="50" rows="3" >${tDjCcdjxx.bz}</textarea>
						</td>
					</tr>
					<tr>
						<td colspan="4" class="form_button" style="padding-top:10px;">
						<c:if test="${tDmCcsDjzt.djztDm=='01'}">
							<mytag:button name="insurance_check" type="submit">value='提交审核'</mytag:button>
						</c:if>
							<input type="reset" value="重置" />
						<c:if test="${tDmCcsDjzt.djztDm=='01'}">
							<mytag:button name="insurance_agree">id='apro' value='批准' onclick='aprol()'</mytag:button>
						</c:if>
							<input type="button" value="返回" onclick="javascript:location.href='system/search/unisearch.jsp?module=book/insurance_orform.jsp'"/>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
</body>
</html>
